				<div class="daili_left">
					
				
					<ul style="padding-bottom: 5rem;" class="left_ul">
				
						<li id="index" class="left_ul_li top_index" data-class="top_index">
								<div class="left_title">
									<div class="left-icon">
										<img src="img/index.png" class="yincang"><img src="img/onindex.png"
											class="xianshi" style="display: none;">
									</div>
									首页&nbsp;
								</div>
						</li>
						<li id="index" class="left_ul_li user_guanli" data-class="user_guanli">
							<div class="left_title">
								<div class="left-icon">
									<img src="img/lei_wangzhan.png" class="yincang"><img src="img/lei_wangzhan_on.png"
										class="xianshi" style="display: none;">
								</div>
								网站管理
							</div>
							<ul class="yi">
								<li id="banner"><a href="banner.html" class="">轮播图管理 </a></li>
								<li id="peizhi"><a href="peizhi.html" class="">网站配置</a></li>
								<li id="add_gonggao"><a href="add_gonggao.html" class="">发布公告 </a></li>
							</ul>
						</li>
				        <li id="index" class="left_ul_li user_guanli" data-class="user_guanli">
				        	<div class="left_title">
				        		<div class="left-icon">
				        			<img src="img/lei_huiyuan.png" class="yincang"><img src="img/lei_huiyuan_on.png"
				        				class="xianshi" style="display: none;">
				        		</div>
				        		会员管理
				        	</div>
				        	<ul class="yi">
				        		<li id="zhanghao"><a href="zhanghao.html" class="">会员列表</a></li>
				        	</ul>
				        </li>
						<li id="index" class="left_ul_li user_guanli" data-class="user_guanli">
							<div class="left_title">
								<div class="left-icon">
									<img src="img/lei_xinwen.png" class="yincang"><img src="img/lei_xinwen_on.png"
										class="xianshi" style="display: none;">
								</div>
								二维码管理
							</div>
							<ul class="yi">
								<li id="add_ma"><a href="add_ma.html" class="">生成二维码 </a></li>
								<li id="ma_list"><a href="ma_list.html" class="">二维码列表</a></li>
							</ul>
						</li>
						<li id="index" class="left_ul_li user_guanli" data-class="user_guanli">
							<div class="left_title">
								<div class="left-icon">
									<img src="img/lei_hangye.png" class="yincang"><img src="img/lei_hangye_on.png"
										class="xianshi" style="display: none;">
								</div>
								商品管理
							</div>
							<ul class="yi">
								<li id="add_shang"><a href="add_shang.html" class="">发布商品 </a></li>
								<li id="shang_list"><a href="shang_list.html" class="">商品列表</a></li>
							</ul>
						</li>
						<li id="index" class="left_ul_li user_guanli" data-class="user_guanli">
							<div class="left_title">
								<div class="left-icon">
									<img src="img/lei_luntan.png" class="yincang"><img src="img/lei_luntan_on.png"
										class="xianshi" style="display: none;">
								</div>
								订单管理
							</div>
							<ul class="yi">
								<li id="order_list"><a href="order_list.html" class="">订单列表</a></li>
							</ul>
						</li>
						<li id="index" class="left_ul_li user_guanli" data-class="user_guanli">
							<div class="left_title">
								<div class="left-icon">
									<img src="img/lei_wode.png" class="yincang"><img src="img/lei_wode_on.png"
										class="xianshi" style="display: none;">
								</div>
								我的信息
							</div>
							<ul class="yi">
								<li id="chang_mima"><a href="chang_mima.html" class="">修改密码 </a></li>
							</ul>
						</li>
				
					</ul>
				</div>








<script type="text/javascript">
	$('.yi li').click(function() {
		$('.yi li').removeClass('li_active')
		$('.left_title').removeClass('ul_active')
		$(this).addClass('li_active')
		$('.xianshi').hide()
		$('.yincang').show()
		$(this).parents('li').find('.yincang').hide()
		$(this).parents('li').find('.xianshi').show()
		$(this).parents('li').find('.left_title').addClass('ul_active')
	})


	$(document).ready(function () {
	    var url = String(window.location)
	    var rightid = url.substring(url.lastIndexOf('/') + 1, url.lastIndexOf('.'));
	    console.log(rightid,'rightid')
	    $('#' + rightid).addClass('li_active')
	    $('#' + rightid).parents('li').find('.left_title').addClass('ul_active')
	    $('#' + rightid).parents('li').find('.yincang').hide()
	    $('#' + rightid).parents('li').find('.xianshi').show()
	
	
	    var classname=$('#' + rightid).parents('li').attr('data-class')
	    console.log(classname)
	    if(rightid=='index'){
	        $('.top_index').show()
			$('.top_index').addClass('top_hou_left_active').siblings().removeClass('top_hou_left_active')
	    }else{
	        $('.'+classname).show()
			$('.' + classname).addClass('top_hou_left_active').siblings().removeClass('top_hou_left_active')
	    }
	   
	});
</script>